package com.xinruke.hostels.central.manage.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinruke.hostels.common.vo.query.BaseQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @ClassName HotelPersonalQueryDTO
 * @CreateDate 2019/6/13
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 个人预订酒店查询请求
 */
@ApiModel("个人预订酒店查询请求")
@Data
public class HotelPersonalQueryDTO extends BaseQueryVO {

    @ApiModelProperty("酒店名称或详细地址")
    private String nameOrAddress;

    @ApiModelProperty("房间数")
    private Integer roomCount;

    @ApiModelProperty("最低房价")
    private BigDecimal minRoomPrice;

    @ApiModelProperty("最高房价")
    private BigDecimal maxRoomPrice;

    @ApiModelProperty("房间类型")
    private Integer roomType;

    @ApiModelProperty("评分")
    private Double averageScore;

    @ApiModelProperty("星级")
    private List<String> xingji;

    @ApiModelProperty("其他服务")
    private List<String> qitafuwu;

    @ApiModelProperty("入住时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("离店时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("省份")
    private String shengfen;

    @ApiModelProperty("地市")
    private String dishi;

    @ApiModelProperty("县")
    private String xian;

}
